import { TJshortcuts } from '@/utils/config'
import i18n from '@/utils/i18n'
export const formItems = [
  {
    filed: 'orderId',
    type: 'input',
    label: i18n.t('message.ddbh'),
    clearable: true
  },
  {
    filed: 'memberInfo',
    type: 'input',
    label: i18n.t('message.memberInfo'),
    placeholder: i18n.t('message.hy2'),
    clearable: true
  },
  {
    filed: 'Times',
    type: 'daterange',
    label: i18n.t('message.xdsj'),
    clearable: false,
    pickerOptions: {
      shortcuts: TJshortcuts
    }
  },
  {
    filed: 'courseName',
    type: 'input',
    label: i18n.t('message.kcmc'),
    clearable: true
  },
  {
    filed: 'payMethod',
    type: 'select',
    label: i18n.t('message.zffs'),
    clearable: true,
    options: []
  },
  {
    filed: 'courseType',
    type: 'select',
    label: i18n.t('message.kclx'),
    clearable: true,
    options: [
      { label: i18n.t('message.cgk'), value: '1' },
      { label: i18n.t('message.sjk'), value: '4' },
      { label: i18n.t('message.spk'), value: '6' }
    ]
  },
  {
    filed: 'payStatus',
    type: 'select',
    label: i18n.t('message.ddzt'),
    clearable: true,
    labelCode: 'name',
    options: []
  }

]
export const queryFormConfig = {
  formItems,
  online: true
}

